<div class="bg-light lter b-b wrapper-md">
  <h1 class="m-n font-thin h3">红包管理</h1>
</div>
<toaster-container toaster-options="{'position-class': 'toast-center', 'close-button':true}"></toaster-container>
<div class="wrapper-md">
  <div class="panel panel-default">
    <div class="panel-heading">
      发放红包
    </div>
    <div style="height:40px"></div>
    <div class="table-responsive" >
      <div class="col-sm-6">
        <div class="form-group">
          <label>类型:</label>
          <select name="" id="" ng-model="allred.type" class="form-control forminfo inline">
            <option value='2'>比例红包</option>
            <option value='1'>满额红包</option>
          </select>
        </div>
        <div class="form-group">
          <label class="block">金额:</label>
          <input type="number" class="form-control forminfo inline" ng-model="allred.price" name="AnnualRateOfYear" placeholder="">
        </div>
        <div class="form-group">
          <label class="block">比例:一月标</label>
          <input type="number" class="form-control forminfo inline" ng-model="allred.one" name="AnnualRateOfYear" placeholder="">
        </div>
        <div class="form-group">
          <label class="block">比例:三月标</label>
          <input type="number" class="form-control forminfo inline" ng-model="allred.three" name="AnnualRateOfYear" placeholder="">
        </div>
        <div class="form-group">
          <label class="block">比例:六月标</label>
          <input type="number" class="form-control forminfo inline" ng-model="allred.six" name="AnnualRateOfYear" placeholder="">
        </div>
        <div ng-controller="DatepickerDemoCtrl">
          <div class="form-group">
              <label>开始日期:</label>
              <p class="input-group">
                <input type="text" class="form-control" id="myinp1" ng-click="open1($event)" datepicker-popup="{{format}}" ng-model="allred.startTime" is-open="opened1" min-date="minDate" datepicker-options="dateOptions" ng-required="true" close-text="Close" />
                <span class="input-group-btn">
                  <button type="button" class="btn btn-default" ng-click="open1($event)"><i class="glyphicon glyphicon-calendar"></i></button>
                </span>
              </p>
          </div>
          <div class="form-group">
            <label>截止日期:</label>
            <p class="input-group">
              <input type="text" class="form-control" id="myinp" datepicker-popup="{{format}}" ng-click="open($event)" ng-model="allred.expirationTime" is-open="opened" min-date="allred.startTime" datepicker-options="dateOptions" ng-required="true" close-text="Close" />
              <span class="input-group-btn">
                <button type="button" class="btn btn-default" ng-click="open($event)"><i class="glyphicon glyphicon-calendar"></i></button>
              </span>
            </p>
          </div>
        </div>
        <div class="form-group">
          <label>手机号:</label>
          <textarea name="" class="form-control forminfo inline" ng-model="allred.mobiles" id="" cols="30" rows="10"></textarea>
        </div>
        <div class="btn btn-sm btn-primary" ng-click="butplus()">保存</div>
      </div>
    </div>
    <div style="height:40px"></div>
  </div>
</div>